var nowDate = getDay(0);
var resdata;
var url;
var urll;
var trStr="";
var userId  = sessionStorage.getItem("userId");
var BillNO = "";
//StoreNO店号  userId 操作人
$(document).ready(function(){
	window.addEventListener('pageshow', function(e) {
    if (e.persisted) {
        window.location.reload();
    }else{
	StoreName = decodeURI(decodeURI(StoreName))
	Statue = decodeURI(decodeURI(Statue))
	$('#nameh').append(StoreNO+"."+StoreName);
	$('#Statueh').append(Statue);
	$('#name').text(sessionStorage.getItem("name"));
	}
		});
});

function pdsearch(){
		StoreName =encodeURI(encodeURI(StoreName));
	Statue =encodeURI(encodeURI(Statue));
	url = "jh_mendianpandian1?PaperNO="+PaperNO+"&StoreNO="+StoreNO+"&StoreName="+StoreName+"&Statue="+Statue;//此处拼接内容
    window.location.href = url;
}


